<?php
class timer extends MY_Controller{
    function svn(){
        $ip = $this->input->ip_address();
        $h_time = date("H");
        $url = "http://66svn.tan66.com:8357/cgi-bin/UpgradeWhiteList.py?IP=".$ip."&Key=".$h_time;
        return file_put_contents($url);
    }
    
    function sql(){
        $ip = $this->input->ip_address();
        $h_time = date("H");
        $url = "http://66svn.tan66.com:8357/cgi-bin/UpgradeNginxWhiteList.py?IP=".$ip."&Key=".$h_time;
        return file_put_contents($url);
    }
}
